#!/usr/bin/env bash
docker run \
-v ~/workspace/dockers/mindoc/uploads:/go/src/github.com/lifei6671/mindoc/uploads \
-v ~/workspace/dockers/mindoc/logs:/go/src/github.com/lifei6671/mindoc/logs \
-p 8181:8181 \
-e MYSQL_PORT_3306_TCP_ADDR=211.149.244.210  \
-e MYSQL_PORT_3306_TCP_PORT=3306  \
-e MYSQL_INSTANCE_NAME=wiki  \
-e MYSQL_USERNAME=wiki  \
-e MYSQL_PASSWORD=wiki  \
-e httpport=8181  \
--name mindoc8181 \
-d wolferhua/mindoc

